package com.mbyte.easy.common.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @className: DraftLogConstant
 * @description: 稿件日志相关常量
 * @author: lxt
 * @create: 2020-03-05 18:10
 **/
public class DraftLogConstant {
    /**
     *审核通过
     */
    public final static String ACTION_CHECK_YES = "1000";
    /**
     *审核拒绝
      */
    public final static String ACTION_CHECK_NO = "1001";
    /**
     * 分配
      */
    public final static String ACTION_ALLOT = "1002";
    /**
     *
    浏览
     */
    public final static String ACTION_LOOK = "1003";
    /**
     *
    编辑
      */
    public final static String ACTION_EDIT = "1004";
    /**
     *
    发布
     */
    public final static String ACTION_ADD = "1005";
    /**
     * 其他
     */
    public final static String ACTION_OTHER = "1006";
    /**
     * 上传音频
     */
    public final static String ACTION_AUDIO = "1007";
    /**
     *上传视频
     */
    public final static String ACTION_VIDEO = "1008";
    /**
     *上传ppt
     */
    public final static String ACTION_PPT = "1009";
    /**
     * 保存
     */
    public final static String SAVE = "1010";
    /**
     * 修改
     */
    public final static String UPDATE = "1011";

    public final static Map<String,String> ACTION_MAP = new HashMap<>();
    static {
        ACTION_MAP.put(ACTION_CHECK_YES,"审核通过");
        ACTION_MAP.put(ACTION_CHECK_NO,"审核拒绝");
        ACTION_MAP.put(ACTION_ALLOT,"分配");
        ACTION_MAP.put(ACTION_LOOK,"浏览");
        ACTION_MAP.put(ACTION_EDIT,"编辑");
        ACTION_MAP.put(ACTION_ADD,"发布");
        ACTION_MAP.put(ACTION_OTHER,"其他");
        ACTION_MAP.put(ACTION_VIDEO,"上传视频");
        ACTION_MAP.put(ACTION_AUDIO,"上传音频");
        ACTION_MAP.put(ACTION_PPT,"上传PPT");
        ACTION_MAP.put(SAVE,"保存");
        ACTION_MAP.put(UPDATE,"修改");

    }

}
